<%
            tools.KoneksiDataBase conn = new tools.KoneksiDataBase();
%>


<%@ page language="java" %>
<HTml>
    <HEAD><TITLE>Upload Book</TITLE>
        <style>
            #main{
                background:GRAY;
                border: solid;
                color: black;
                font-weight: bold;
                padding-left:0px;
                padding-right:0px;
                margin-top: 0px;
                margin-left:250px;
                margin-right:210px;
                margin-bottom:0px;
            }
            #menuhor{
                list-style-type: none;
                width: 900x;
                margin: 25;
                padding: 25;
                height: 50px;
                background-color: brown;
                float: center;

            }
            #menuhor li {
                margin: 0;
                padding: 0;
                float: left;
                text-align: center;
            }
            #menuhor a {
                float: center;
                display: block;
                width: 210px;
                text-align: center;
                color: #FFF;
                text-decoration: line-through;
                padding: 1px;
                line-height: 3.1;
                border-right: 3px solid gray;

            }
            #menuhor a:hover{
                background: #DEB887;
            }

        </style></HEAD>
    <BODY style="background-image:'image/a.jpg'">
        <div id="main">

            <center><img alt="cover" src="image/banner.jpg" width="865" height="420"></center><br><hr>

            <div id="menuhor">          

                <li> <a href="DaftarBuku.jsp"> DAFTAR BUKU </a></li>
                <li> <a href="HOME.jsp"> LOGOUT </a></li>

            </div>
            <hr>
            <FORM ENCTYPE="multipart/form-data" ACTION="UploadPdfAction.jsp" METHOD=POST>
                <br><br><br>
                <center><table border="2" >
                        <tr><center><td colspan="2"><p align="center"><B>UPLOAD BOOK</B><center></td></tr>
                            <tr><td><b>Judul</b></td>
                                <td><INPUT NAME="judul" TYPE="text"></td></tr>
                            <tr><td><b>Pengarang</b></td>
                                <td><INPUT NAME="pengarang" TYPE="text"></td></tr>
                            <tr><td><b>Penerbit</b></td>
                                <td><INPUT NAME="penerbit" TYPE="text"></td></tr>
                            <tr><td><b>Cover</b></td>
                                <td><INPUT NAME="cover" TYPE="file"></td></tr>
                            <tr><td><b>File</b></td>
                                <td><INPUT NAME="pdf" TYPE="file"></td></tr>
                            <tr><td colspan="2"><p align="right"><INPUT TYPE="submit" VALUE="Insert" ></p></td></tr>
                            <table>
                        </center>
                        </FORM>
                        <br><br>
                        <div id="footer" style="background-color:grey;clear:both;text-align:center;">
                            Created by. MoccaTeam </div>
                        </div>
                        </BODY>
                        </HTML>